<div class="bg-light lter b-b wrapper-sm">
    <h1 class="m-n font-thin h4">系统日志</h1>
</div>
<div class="wrapper-sm" ng-controller="opinionSystemLogController">
    <div class="panel panel-default">
            <div class="panel-heading font-bold">一级查询</div>
            <div class="panel-body form-horizontal">
                    <div class="form-group">
                            <label class="control-label pull-left w-xs">编号</label>
                            <div class="col-md-2 col-xs-6">
                                    <select id="table_idType" ng-change="handleCodeTypeChange()" name="idType" class="form-control input-sm" ng-model="queryTerms.logType" ng-options="x.value as x.text for x in idTypeDropDown">
                                        <!-- <option value="">全部</option> -->
                                    </select>
                            </div>
                            <div class="col-md-2 col-xs-6">
                                    <input type="text" class="form-control input-sm" id="table_orderId" ng-model="queryTerms.itemCode" placeholder="请输入编号" name="order_id">
                                    <!-- <input type="text" class="form-control input-sm" placeholder="请输入编号"> -->
                            </div>

                            <div class="col-md-2 col-xs-6">
                                <button id="table_systemLogList_search" ng-click="queryFunc()" class="btn btn-sm btn-default btn-addon" ng-class="{'disabled':querying}" ng-disabled="querying">
                                    <i class="fa fa-search" ng-show="!querying"></i>
                                    <i class="fa fa-spinner no-bordr" ng-show="querying" ng-class="{'fa-spin':querying}"></i>
                                    <span ng-show="!querying">查询</span>
                                    <span ng-show="querying">查询中...</span>
                                </button>
                            </div>
                    </div>
            </div>
            <div class="panel-heading font-bold">二级查询 <span title="若要使用二级查询则需将二级查询条件全部填写或一级查询条件全部填写" class="opinion-log-info">?</span></div>
            <div class="panel-body form-horizontal">
                    <label class="control-label pull-left w-xs">操作人员</label>
                    <div class="col-md-2">
                        <div angucomplete-alt id="operate_userName" placeholder="请输入操作人员" pause="200" selected-object="onUserNameSelect" remote-api-handler="searchUsername" local-data="userNamData" search-fields="realName" title-field="realName" minlength="1" input-changed="inputChanged" input-class="form-control form-control-small input-sm"
                            initial-value="queryTerms.userName" match-class="highlight" required>
                        </div><!-- <input type="text" class="form-control input-sm" id="table_operator" ng-model="query.operator" placeholder="请输入操作人员" name="operator"> -->
                    </div>     
                  


                    <label class="control-label pull-left w-xs">操作起始时间</label>
                    <div class="col-md-2">
                            <div class="input-group input-group-sm date">
                                <input id="StartTime" ng-change="handleTimeChange(true)" name="StartTime"  datetimepicker plugintype="datetime" ng-model="queryTerms.startTime" placeholder="起始时间" class="form-control" type="text" />
                                <span id="openStartTime" class="input-group-addon curpoint">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                            </div>
                    </div>
                    <label class="control-label pull-left w-xs">操作结束时间</label>
                    <div class="col-md-2">
                            <div class="input-group input-group-sm date">
                                <input id="EndTime" name="EndTime" ng-change="handleTimeChange(false)" datetimepicker plugintype="datetime" ng-model="queryTerms.endTime" placeholder="结束时间" class="form-control" type="text" />                                
                                <span id="openEndTime" class="input-group-addon curpoint">
                                    <span class="glyphicon glyphicon-calendar"></span>
                                </span>
                            </div>
                    </div>
            </div>
    </div>

  
    <div class="panel panel-default">
            <div class="panel-heading">
                系统日志列表
            </div>
            <div class="table-responsive">
                <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-pagination ui-grid-exporter ui-grid-auto-resize style="height:{{heightA}}px; min-width:1000px; min-height:395px; overflow-y:hidden;">
                    <div class="watermark" ng-if="!gridOptions.data.length">暂无数据</div>
                </div>
            </div>

            <div class="panel-body">
                <!-- <button id="table_operationEContractList_detail" ng-click="skipDownload()" class="pull-right-xs btn btn-sm btn-success btn-addon "><i class="fa fa-download"></i>下载记录</button> -->
            </div>
    
    </div>
</div>
<style>
    .opinion-log-info{
        /* background-color: red; */
        display: inline-block;
        height: 20px;
        width: 20px;
        border-radius: 10px;
        border: 1px solid #cdc;
        text-align: center;
        position: relative;
        top: -5px;
    }
</style>
